package com.dianping.cat.home.dal.report;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;















public class ConfigModification
  extends DataObject
{
  private int m_id;
  private String m_userName;
  private String m_accountName;
  private String m_actionName;
  private String m_argument;
  private Date m_date;
  private Date m_creationDate;
  private int m_keyId;

  public void afterLoad() {
/*  33 */     this.m_keyId = this.m_id;
/*  34 */     clearUsage();
  }


/*  38 */   public String getAccountName() { return this.m_accountName; }



/*  42 */   public String getActionName() { return this.m_actionName; }



/*  46 */   public String getArgument() { return this.m_argument; }



/*  50 */   public Date getCreationDate() { return this.m_creationDate; }



/*  54 */   public Date getDate() { return this.m_date; }



/*  58 */   public int getId() { return this.m_id; }



/*  62 */   public int getKeyId() { return this.m_keyId; }



/*  66 */   public String getUserName() { return this.m_userName; }


  public ConfigModification setAccountName(String accountName) {
/*  70 */     setFieldUsed(ConfigModificationEntity.ACCOUNT_NAME, true);
/*  71 */     this.m_accountName = accountName;
/*  72 */     return this;
  }

  public ConfigModification setActionName(String actionName) {
/*  76 */     setFieldUsed(ConfigModificationEntity.ACTION_NAME, true);
/*  77 */     this.m_actionName = actionName;
    return this;
  }

  public ConfigModification setArgument(String argument) {
/*  82 */     setFieldUsed(ConfigModificationEntity.ARGUMENT, true);
/*  83 */     this.m_argument = argument;
/*  84 */     return this;
  }

  public ConfigModification setCreationDate(Date creationDate) {
/*  88 */     setFieldUsed(ConfigModificationEntity.CREATION_DATE, true);
/*  89 */     this.m_creationDate = creationDate;
/*  90 */     return this;
  }

  public ConfigModification setDate(Date date) {
/*  94 */     setFieldUsed(ConfigModificationEntity.DATE, true);
    this.m_date = date;
/*  96 */     return this;
  }

  public ConfigModification setId(int id) {
/* 100 */     setFieldUsed(ConfigModificationEntity.ID, true);
/* 101 */     this.m_id = id;

/* 103 */     setFieldUsed(ConfigModificationEntity.KEY_ID, true);
/* 104 */     this.m_keyId = id;
/* 105 */     return this;
  }

  public ConfigModification setKeyId(int keyId) {
/* 109 */     setFieldUsed(ConfigModificationEntity.KEY_ID, true);
/* 110 */     this.m_keyId = keyId;
/* 111 */     return this;
  }

  public ConfigModification setUserName(String userName) {
/* 115 */     setFieldUsed(ConfigModificationEntity.USER_NAME, true);
/* 116 */     this.m_userName = userName;
/* 117 */     return this;
  }


  public String toString() {
/* 122 */     StringBuilder sb = new StringBuilder(1024);

/* 124 */     sb.append("ConfigModification[");
/* 125 */     sb.append("account-name: ").append(this.m_accountName);
/* 126 */     sb.append(", action-name: ").append(this.m_actionName);
/* 127 */     sb.append(", argument: ").append(this.m_argument);
/* 128 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 129 */     sb.append(", date: ").append(this.m_date);
/* 130 */     sb.append(", id: ").append(this.m_id);
/* 131 */     sb.append(", key-id: ").append(this.m_keyId);
/* 132 */     sb.append(", user-name: ").append(this.m_userName);
/* 133 */     sb.append("]");
/* 134 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/ConfigModification.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */